package org.example;

import java.util.List;

/**
 * @ClassName SysMenu
 * @Description
 * @Author zhangsw
 * @Date 2020/10/17 10:58
 * @Version 1.0
 */
public class SysMenu {
    private Integer id;
    private Integer pid;
    private String name;
    private Integer type;
    List<SysMenu> menus;

    public List<SysMenu> getMenus() {
        return menus;
    }

    public void setMenus(List<SysMenu> menus) {
        this.menus = menus;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "SysMenu{" +
                "id=" + id +
                ", pid=" + pid +
                ", name='" + name + '\'' +
                ", type=" + type +
                ", menus=" + menus +
                '}';
    }
}
